package com.dragon.blelibrary.scandevise;

import android.bluetooth.BluetoothDevice;

public interface IScanListener {
	/**搜索超时*/
	public static final int RESULT_SCAN_TIME_OUT  = 0;
	/**没有搜索到设备*/
	public static final int RESULT_SCAN_NO_DEVICE = 1;
	/**主动停止搜索*/
	public static final int RESULT_STOP_BY_HUMAN  = 2;
	/**在搜索中*/
    void OnScanning();
    /**搜索结束*/
    void OnScanEnd(int result);
    /**搜索到新的设备*/
    void OnScanNewDevice(BluetoothDevice device, String name, int rssi, byte[] scanRecord);
}
